ObjectDB Database Search

101-150 of 200 results

persistence.xml classes not respected by ObjectDB

have already tried a couple of times. The lucky part is that I have the old DB on my development machine. By adding class by class into that one, it seems that they ODB didn't merge all classes, as it does if I ... the fact that they don't appear in the development DB, the DB that got added class by class, as

Multi threading on DMOs by lazy loading

It is possible to use lazy loading on fields of attached entities by several threads? Example: class EntityZ { @OneToOne(fetch = FetchType.LAZY) EntityX fieldX; @OneToOne(fetch = FetchType.LAZY ... fieldX by lazy loading. Thread2 access fieldY by lazy loading. Thread3 access list by lazy loading

How to disable use of graphic windows by objectDB

:223) at com.objectdb.Server.run(Server.java:107) at com.objectdb.Server.main(Server.java:66) Caused by ... .objectdb.Server.main(Server.java:66) Caused by : java.net.UnknownHostException: GhostRider: Name or ... .objectdb.Server.run(Server.java:107) at com.objectdb.Server.main(Server.java:66) Caused by : java.net

UserException: Package com.example.model is not found by the enhancer

get the exception: com.objectdb.o.UserException: Package com.example.model is not found by ... by different class loaders and the Enhancer do not have access to the classes. Enhancing by invoking

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped- by attribute (yeah ... , go the MyEntity class and remove "mapped- by ". You obtain 1 second max of query fetch. So my performance ... = "myEntity") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild() {  

Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[])

exceeded" exception. Nearly 90% of the memory are taken by com.objectdb.o.PRU (49%) com.objectdb.o.SEV ... /query/domain/objectdb.com Forum Thread Need help to analyse very high memory usage by objectdb objects (PRU, SEV, VAL[]) has been created. btc_es BTC EmbeddedSystems This may be caused by large insert

Connection is closed Caused by: java.io.EOFException

after an undetermined period. Caused by : com.objectdb.o.UserException: Connection is closed at com ... .createEntityManager(EMF.java:160) ... 39 more Caused by : java.io.EOFException at com.objectdb.o.NTS

Null returned by Persistence.createEntityManagerFactory

the application I get an exception. The exception is ultimately caused by a null pointer on the line "em ... it is, because stack traces are occasionally inaccurate. Try to change your code by moving suspected lines to separate methods, etc. support Support

Getting java.lang.ArithmeticException: / by zero

() is throwing the following exception ava.lang.ArithmeticException: / by zero at com.objectdb.td.remove(td.java ... Binit Bhaskar This division by zero occurs in some hash table that happens to have a 0 size (but I

Unable to repair DB by Doctor.

Hi, I am unable to repair a database by Doctor. Getting following error. com.objectdb.o.UserException: Failed to locate field field com.apps.test.ContactTab.col8 using reflection at com.objectdb.o ... ) at com.objectdb.o.DCM.j(DCM.java:112) at com.objectdb.Doctor.main(Doctor.java:10) Caused by : java

find out if an entity is refered by other entities

Hello, it is possible to find out if a child entity is just referenced by other parent entity types. But the types of the parent entities are unknown. Is there a possibility to find out if an entity is referenced? best regards btc_es BTC EmbeddedSystems You can only find it (using a query

Bug: ClassCastException by retrieval

tn3 = em.find(tNode.class, 1);   System.out.printf("find by retrieval : %s %n",tn3.getTa

Query by array element

MyEntity that wraps the array access operation and then use that method in the query. It is supported by

Get multiple entities by Id

I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero results

Internal ObjectDB error by read the primary key

covered by the fix of 2.6.6_05. Build 2.6.6_06 should fix it. Unfortunately it is difficult to cover

Retrieval by Access bug?

of objectC, and I cant find any reason for that. Could be any bug in ObjectDB when I retrieve by navigation

Will Entire JPQL Supported by ObjectDb?

JPQL features are not supported yet by ObjectDB. The main missing feature is subqueries

Finding an object by its datetime

. I want to search for objects by exact timestamps.   takada Takumi Adachi It should work

A lot of ENT and SIV instances which are not cleared by GC

and fixed (in build 2.6.1_01) a bug in cascading detach through mapped by to-many relationships

java.sql.Time field off by 30 minutes

java.sql.Time field off by 30 minutes

getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor.

getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor.

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

Bulk load of eager mapped by (inverse) relationships

When a collection of objects is retrieved by ObjectDB (e.g. by a query) ordinary referenced ... . However, inverse (mapped by ) references that have to be loaded eagerly currently do not ... a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse

Alias not used in ORDER BY

would have expected the alias to be used in the ORDER BY clause, something like SELECT $1, UPPER($1.someStringProperty) AS TEST FROM T ORDER BY TEST However what I actually get as query string is SELECT $1, UPPER($1.someStringProperty) AS TEST FROM T ORDER BY UPPER($1.someStringProperty) This doesn't

InternalException caused by OOM: Metaspace

.5_05] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0 ... ) and the next part: Caused by : java.lang.OutOfMemoryError: Metaspace at java.lang.ClassLoader

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access/navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists ... { ... @ElementCollection // lazy loaded by default private Map values; ... } @Stateless public class

Incorrect entity returned by query

Incorrect entity returned by query

combined index not used

.properties.name = 'scheduledSlot') GROUP BY a.endDate, a.objectsInCharge.nodePath, a.objectsInCharge ... --------------------- Group the results of step 5 by : a.endDate,v$1.nodePath,v$3.doubleValue. Step 7: Apply ... .type = 1) and (a.objectsInCharge.properties.name = 'scheduledSlot') GROUP BY a.endDate

JPA Criteria Query Expressions

expression handling by using a minimal set of reusable interfaces, so many different types of expressions are represented by the same Expression interface.  Core expressions The following interfaces

JPA Lifecycle Events

annotation. By default, callback methods in a superclass are also invoked for entities of its subclasses ... attached to an entity class are inherited by its subclasses. To prevent this inheritance, add

Server Configuration

The configuration element specifies settings for running an ObjectDB Server . The server is also affected by other elements in the configuration file, such as the and elements. The default ... server. Every database file in the data directory and its subdirectories can be accessed by the server

Schema Update

the original name (specified by the required name attribute) to the new name. All classes in ... , the class name changes from the original name (specified by the required name attribute) to the new name

JPA Metamodel Attributes

are represented by : Represents single-valued attributes. This includes basic types (primitives ... ) with "To-One" cardinality. Plural (collection) attributes Collection-valued attributes are represented by

JPA Fetch Plan Graphs

Jakarta Persistence (JPA) Entity Graphs optimize query performance by specifying which attributes should be loaded eagerly. Graph definitions Use the following interfaces to define ... Individual components within a graph are represented by the following interface: Represents a specific

JPA Queries

these core interfaces: The base interface for executing queries in JPA. It is often replaced by ... the query clauses. Elements used to define the SELECT and ORDER BY clauses. Elements for the FROM

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application performance. Reducing Development Time and Costs ObjectDB makes database programming easier and faster ... fields can be stored by ObjectDB simply as part of the containing object. Relational databases lack

Defining a JPA Entity Class

. Only the persistent state of the object, which is represented by its persistent fields , is stored. By default, any

Obtaining a JPA Database Connection

In JPA, a database connection is represented by the EntityManager interface. Therefore, to manipulate an ObjectDB database, you need an EntityManager instance. Operations that modify database ... directory, which by default is the directory where ObjectDB is installed. If a database file does not

Spring MVC and JPA Tutorial

a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window ... . A GuestDao component is automatically constructed and injected by Spring into the guestDao field

Step 6: Set the Spring XML

editor ( by right clicking and selecting  Open With Text Editor or by double click

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ). The name of the Main class should be tutorial.Main . Verify that exactly this case sensitive fully

Step 6: Set the Spring XML

another xml configuration file. Open the web.xml file (under Web Pages WEB-INF) in a text editor ( by right clicking and selecting Edit or by double click and then moving to the XML tab in the editor window

Step 7: Run the Spring Web App

;you can run the application now by right clicking the project node (in the [Project Explorer] window ... ; ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the  Manual .

Java EE JPA Tutorial - Maven Project

The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but 

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 2: Entity Class and Persistence Unit

, enter src/main/java as Folder Name and click Finish . Open the [New Java Class] dialog box, e.g. by ... by setting a  META-INF/persistence.xml file: Right click the src/main/resources node (in

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window) and selecting ... is automatically constructed and injected by Spring into the guestDao field (because it is annotated